package com.atguigu06.polymorphism.exer4;

/**
 * ClassName: Person
 * Package: com.atguigu06.polymorphism.exer4
 * Description:
 * 在Person类中，包含
 * 1. public void eat(): 打印吃饭
 * 2. public void toilet(): 打印上厕所
 *
 * @Author 姜
 * @Create 2023/11/22 15:37
 * @Version 1.0
 */
public class Person {
    public void eat() {
        System.out.println("干饭");
    }

    public void toilet() {
        System.out.println("拉屎");
    }
}
